package mapstruct;

public class Doctor {
    private int id;
    private String name;
    private String specialty;
    // getters and setters or builder

    public Doctor(final int id, final String name, final String specialty) {

        this.id = id;
        this.name = name;
        this.specialty = specialty;
    }

    public int getId() {

        return id;
    }

    public void setId(final int id) {

        this.id = id;
    }

    public String getName() {

        return name;
    }

    public void setName(final String name) {

        this.name = name;
    }

    public String getSpecialty() {

        return specialty;
    }

    public void setSpecialty(final String specialty) {

        this.specialty = specialty;
    }

}